package net.zjitc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.zjitc.entity.Apply;
import com.baomidou.mybatisplus.extension.service.IService;
import net.zjitc.entity.VO.ApplyVo;

/**
 * @auther 郭梦婷
 * @create 2022-05-09 11:22:19
 * @describe 服务类
 */
public interface IApplyService extends IService<Apply> {

    Page<ApplyVo> getApply(String querystring, Integer pagenum, Integer pagesize);

    ApplyVo selectById(Integer id);

    int deleteById(int id);

    int addApply(Integer recruitid, String username,String resume);

    int IfApply(Integer recruitid, String username);

    Page<ApplyVo> getAllApplyByUsername(String username, Integer pagenum, Integer pagesize);

    Page<ApplyVo> selectJobSeek(int id, String querystring, Integer pagenum, Integer pagesize);
}
